import { Injectable } from '@angular/core';
import { HttpClientService } from '../../../services/http-client.service';
@Injectable()
export class ServiceAlterService {

	constructor(
		public httpClient: HttpClientService
	) { }
	// 审核列表
	getCheckList(getBody) {
		return this.httpClient.get('/pms/v1/item/serItemAudit/getPageSerItemAuditInfo', getBody);
	}
	//查询-审核服务条目信息
	getServiceEntryInfo(nItemAuditNo) {
		return this.httpClient.get('/pms/v1/item/serItemAudit/itemAuditById/'+nItemAuditNo);
	}
	//更新-服务条目-审核通过-不通过
	checkService(putBody,sAuditStatus){
		return this.httpClient.put('/pms/v1/item/serItemAudit/serItemAudit?sAuditStatus='+sAuditStatus, putBody);
	}
}